import React from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
import { ConfigProvider, App as App_ } from 'antd';

const dom = document.getElementById('root');
if (dom) {
  const root = createRoot(dom);
  root.render(
    React.createElement(
      ConfigProvider,
      {
        theme: {},
      },
      React.createElement(App_, {}, React.createElement(App))
    )
  );
}
